name = "lin"
gender = "female"
salary = 51032.8896

print("My name is {}, my gender is {}, my salary is {}".format(name, gender, salary))
print("My name is {0}, my gender is {1}, my salary is {2}".format(name, gender, salary))
print("My name is {a}, my gender is {b}, my salary is {c}".format(a=name, b=gender, c=salary))
print(f"My name is {name}, my gender is {gender}")
print("{:.1f}".format(salary))
print("My name is %s, my gender is %s, my salary is %f" % (name, gender, salary))

